<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>

		<script type="text/javascript">
			var n = Number.MAX_VALUE;
			console.log(n);

			n = Number.MIN_VALUE;
			console.log(n);

			var n2 = Number(255);
			console.log(n2.toString()); // 默认十进制
			console.log(n2.toString(2)); // 二进制显示
			console.log(n2.toString(16)); // 十六进制显示

			var n3 = 1234556.12334;
			console.log(n3.toLocaleString()); // 会用,分隔			
			console.log(n3.toFixed(2)); // 该方法将Number对象四舍五入为指定小数位数的数字
		</script>
	</body>
</html>
